package com.jonychen.swagger2demo.common.config.extend;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description:
 * @Author: kui.chen@100credit.com
 * @Date: 2019/9/8 15:01
 */
@ApiModel(value="ApiResponse")
public class ApiError {
    @ApiModelProperty(value="返回码 ",example="1成功，失败对应异常编码，格式EVS000 ")
    private int code;

    @ApiModelProperty(value="异常原因 ")
    private String reason;

    @ApiModelProperty(value="接口调用成功后的数据结果")
    private String data;

    public int getCode() {
        return code;
    }
    public void setCode(int code) {
        this.code = code;
    }
    public String getReason() {
        return reason;
    }
    public void setReason(String reason) {
        this.reason = reason;
    }
    public String getData() {
        return data;
    }
    public void setData(String data) {
        this.data = data;
    }
}
